package com.gitee.swsk33.dborder;

import com.gitee.swsk33.dbfeign.feignclient.ProductClient;
import com.gitee.swsk33.dbfeign.feignclient.UserClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(clients = {UserClient.class, ProductClient.class})
@MapperScan("com.gitee.swsk33.dborder.dao")
public class DbOrderApplication {

	public static void main(String[] args) {
		SpringApplication.run(DbOrderApplication.class, args);
	}

}